import request from '../utils/request'

// 登录
export function loginFn (data: { adminname: string; password: string }) {
  return request({
    url: '/admin/login',
    method: 'POST',
    data
  })
}
